package com.theme.passport.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author: 可乐加糖
 * @create: 2023-02-21 16:03
 * @Description:
 */
@Data
@ApiModel(value = "苹果IOS购买主题组件表单-广告下载")
public class ApplePayElementByAdForm {

    /** 购买VIP的价格，价位单位：分例如 1元 = 100分 **/
    @ApiModelProperty(value = "购买VIP的价格，价位单位：分例如 1元 = 100分", notes = "", required = false)
    private Long price;
    
    @ApiModelProperty(value = "当前用户id不用传", notes = "", required = false)
    private long userId ;

    @ApiModelProperty(value = "类型", notes = "1主题，2组件,3壁纸", required = true)
    @NotNull(message="类型不能为空(1主题，2组件,3壁纸)")
    private Integer type;

    @ApiModelProperty(value = "对象id", notes = "", required = true)
    @NotNull(message="操作对象不能为空")
    private Long objectId;

}
